package com.ml.springboot.service;

import com.ml.springboot.pojo.LeaveType;
import com.ml.springboot.pojo.VO.BlogCountVO;
import com.ml.springboot.pojo.VO.LeaveTypeVO;
import com.ml.springboot.pojo.query.BlogTypeQuery;
import com.ml.springboot.util.PageResult;

import java.util.List;

public interface ILeaveTypeService {
    /*List<BlogType> list();*/
    PageResult list(BlogTypeQuery blogTypeQuery);
    void deletedById(Integer id);

    void deleteAll(Integer[] ids);

    void add(LeaveType blogType);

    LeaveType selectById(Integer id);

    void update(LeaveType blogType);

    List<LeaveTypeVO> selectAll();

    List<BlogCountVO> blogCount();
}
